package com.lwq.im.chartdemo.bean;

import com.lwq.im.chartdemo.handler.ChartRequestHandler;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class InitBean implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 端口号
     */
    private Integer port;

    /**
     * 写空闲（秒）
     */
    private Long writeIdle;

    /**
     * 读空闲（秒）
     */
    private Long readIdle;

    /**
     * 请求处理器
     */
    private ChartRequestHandler chartRequestHandler;

}
